package com.ruoyi.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
 * 任务人员设备关联对象 cz_task_equipment_user
 * 
 * @author ruoyi
 * @date 2022-01-09
 */
@ApiModel(description= "任务人员设备关联对象")
public class CzTaskEquipmentUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 关联表ID */
    @ApiModelProperty(value ="关联表ID")
    private String id;

    /** 任务ID */
    @Excel(name = "任务ID")
    @ApiModelProperty(value ="任务ID")
    private String taskId;

    /** 设备ID */
    @Excel(name = "设备ID")
    @ApiModelProperty(value ="设备ID")
    private String equipmentId;

    /** 人员ID */
    @Excel(name = "人员ID")
    @ApiModelProperty(value ="人员ID")
    private Long userId;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setTaskId(String taskId) 
    {
        this.taskId = taskId;
    }

    public String getTaskId() 
    {
        return taskId;
    }
    public void setEquipmentId(String equipmentId) 
    {
        this.equipmentId = equipmentId;
    }

    public String getEquipmentId() 
    {
        return equipmentId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("taskId", getTaskId())
            .append("equipmentId", getEquipmentId())
            .append("userId", getUserId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
